package com.sj;

public class UserServlet {
    //得到UserService的对象
    //原始：new创建
    UserService userService = UserFactory.getService();

    public UserService getUserService() {
        return userService;
    }
}
